import request from '../utils/request'
export function list(params) {
  return request({
    url: '/admin/wallet/getInfo',
    method: 'get',
	params:params
  })
}

export function depositList(params) {
  return request({
    url:'/admin/wallet/list',
    method:'get',
    params: params
  })
}

export function calculate(data) {
  return request({
    url: '/admin/wallet/calculate?amount=' + data,
    method: 'post'
  })
}

export function transfer(params) {
  return request({
    url: '/admin/wallet/transfer',
    method: 'post',
	params: params
  })
}